package cn.tedu.rms.orders.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class OrdersVO {
    @ApiModelProperty(value = "订单id")
    private Long id;
    @ApiModelProperty(value = "餐桌id")
    private Long tableId;
    @ApiModelProperty(value = "状态")
    private String status;
    @ApiModelProperty(value = "用餐状态")//1:已就座2：离开/本次订单结束
    private String diningStatus;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "分店id")
    private Long branchId;
    @ApiModelProperty(value = "总价")
    private Double total;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "支付方式")
    private String paymentType;
    @JsonFormat(pattern = "MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "支付时间")
    private Date paymentTime;
    @ApiModelProperty(value = "支付金额")
    private Double paymentAmount;
}
